package com.zr.myorder.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by star on 2019/7/3.
 */
@Data
public class UserEduUpdateVo {

    private Integer  loginId; //int(20) //DEFAULT NULL COMMENT '注册表外键',


    @NotNull(message = "修改时,职业不能为空")
            private Boolean occupation; ////int(100) DEFAULT NULL COMMENT '职业',

            @NotNull(message = "修改时,学历不能为空")
            private Boolean education; //int(100) DEFAULT NULL COMMENT '学历',

            @NotBlank(message = "修改时，毕业学院不能为空")
            private String graduationSchool;// varchar(20) DEFAULT NULL COMMENT '毕业学校',

            @NotBlank(message = "修改时，专业不能为空")
            private String major;// varchar;//(20); //DEFAULT NULL COMMENT '专业',

            private Date graduationYear; //datetime DEFAULT NULL COMMENT '毕业年份',
}
